package com.sanhe.rfmuscle.event;

import com.menu.app.event.BaseIntEvent;
import com.sanhe.rfmuscle.util.Utils;

public class TimeEvent extends BaseIntEvent {

    @Override
    public boolean postValue(Integer value) {
        if (!Utils.isWorking()) {
            setValue(value);
            post();
            return true;
        }
        return super.postValue(value);
    }

}
